Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bulk): enable running bulk loader with only gql schema #8903

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

mangalaman93
Copy link
Contributor

@mangalaman93 mangalaman93 commented Jul 12, 2023

If only gql schema is provided, and DQL schema is missing bulk loader used to fail. This PR adds the ability to auto generate the DQL schema from the gql schema and use it in the bulk loader.

This PR also adds support for running bulk loader in the dgraphtest package. Additionally, this PR also changes the dgraphtest package to always copy the dgraph binary into a temp folder even when the version of the dgraph used is set to "local".

Closes: DGRAPHCORE-324
Docs PR: NA

@dgraph-bot dgraph-bot added area/testing Testing related issues area/bulk-loader Issues related to bulk loading. go Pull requests that update Go code labels Jul 12, 2023
@mangalaman93 mangalaman93 force-pushed the aman/bulk branch 3 times, most recently from 96adccf to b67af59 Compare July 12, 2023 08:59
dgraph/cmd/bulk/run.go Show resolved Hide resolved
systest/integration2/bulk_loader_test.go Outdated Show resolved Hide resolved
If only gql schema is provided, and DQL schema is missing
bulk loader used to fail. This PR adds the ability to
auto generate the DQL schema from the gql schema and use
it in the bulk loader.

This PR also adds support for running bulk loader in the
dgraphtest package.
@mangalaman93 mangalaman93 merged commit ee7f325 into main Jul 12, 2023
@mangalaman93 mangalaman93 deleted the aman/bulk branch July 12, 2023 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bulk-loader Issues related to bulk loading. area/testing Testing related issues go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

4 participants